#ifndef BUBBLESORT_H
#define BUBBLESORT_H

#include "array.h"
#include "sortingalgorithm.h"

class BubbleSort : public SortingAlgorithm
{
public:
    BubbleSort();
    virtual ~BubbleSort();
    virtual void sort(Array * a);
    void sort(int * items, long from, long to, bool desc = false);
    void sort(int * items, long from, long to, long jump, bool desc = false);
};

#endif // SORTINGALGORITHMS_H
